package net.zjitc.service;

import net.zjitc.pojo.Movie;
import net.zjitc.vo.MovieVo;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/5/28 10:21
 */
public interface MovieService {


    List<Movie> findAll();

    List<Movie> show(int showType);
    List<Movie> findByhot();

    int deleteMovie(Integer id);

    List<Movie> search(MovieVo vo);

    int add(Movie movie);

    List<Movie> index_hot();

    List<Movie> index_date();

    List<Movie> index_old();

    Movie findById(int movie_id);

    List<Movie> findByType_id(Integer type_id);

    List<Movie> findByDis_id(Integer dis_id);

    int update(Movie movie);
}
